|
|
"Thomas de Groot" <t.d### [at] internlnet> wrote:
> "Vincent LE CHEVALIER" <gal### [at] libertysurffr> schreef in
> bericht news:4405babf@news.povray.org...
> > The problematic code is :
> >
> > [...]
> > isosurface {
> > function {y - P(x, 0, 1-z)}
> > [...]
> >
> > which you can replace with
> >
> > [...]
> > isosurface {
> > function {y - P(x, 0, -z)}
> > [...]
> >
> > which works fine :-) Amazing what a nasty char can do...
> >
> > The explanation is that you just want to reverse the z-axis to be
> > coherent with the height field. By writing P(x, 0, 1-z) not only do you
> > reverse the z axis, but you translate it as well...
> >
> > Hope this helps
> >
>
> oh-oh! A little error in Mike's tutorial, eh? :-)
> I shall try this out! Thanks a lot!
>
> Thomas
Mike's code works OK, and his tutorial is fantastic. It just adresses a
different portion of the pattern (not centered, see mountain4.pov example:
the isosurface is contained_by { box {<0,0,0>, <1,1,1>}}, and not <-1/2,
-1/2, -1/2>, <1/2, 1/2, 1/2>). If you 'recenter' Mike's code, you get the
same.
Bruno
Post a reply to this message
|
|